home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
009a
/
snpd0493.zip
/
ISPOW2.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-05
|
228b
|
13 lines
.I 2 10
int another_function(int x) { return! ((~(~0U>>1)|x)&x -1) ;}
int main(void)
{
int i;
for (i = 0; i < 256; ++i)
printf("%3d: %d\n", i, another_function(i));
return 0;
}
.D 3 9